# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-holidays
pkgver=0.10.2
pkgrel=1
pkgdesc="Generate and work with holidays in Python"
url="https://github.com/dr-prodigy/python-holidays"
arch="noarch"
license="MIT"
depends="python3 py3-dateutil py3-six py3-convertdate py3-convertdate py3-korean-lunar-calendar py3-hijri-converter"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/h/holidays/holidays-$pkgver.tar.gz"
builddir="$srcdir/holidays-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="97f04c34d6d2e04eb3bcc892189cf42c4eff862a73f6e14aead065f4b8d3783659097b21b96b3aac7bf294a5388e9add361276f97348b6fc9fb6135888f87490  holidays-0.10.2.tar.gz"
